package flysearch;

def n1 = 1;
def n2 = 3;
var result;

add();
subtract(4, 7);
println(divide(10, 2));

function add(){
    result = n1 + n2;
    println("{result} = {n1} + {n2}");
}

function subtract(a1:Integer, a2:Integer){
    result = a1 - a2;
    println("{a1} - {a2} = {result}");
}

function divide(d1:Integer, d2:Integer):Integer{
    return d1 / d2;
}



